import { useI18n } from '/@/hooks/web/useI18n';
const { t } = useI18n();
export interface ListItem {
  id: string;
  avatar: string;
  // 通知的标题内容
  title: string;
  // 是否在标题上显示删除线
  titleDelete?: boolean;
  datetime: string;
  type: string;
  read?: number;
  description: string;
  clickClose?: boolean;
  extra?: string;
  color?: string;
  taskId?: string;
  processId?: string;
  schemaId?: string;
  timeFormat?: string;
}

export interface TabItem {
  key: string;
  name: string;
  unreadNum: number;
  list: ListItem[];
  read?: ListItem[];
  unreadlist?: ListItem[];
}

export const tabListData: TabItem[] = [
  {
    key: '2',
    name: t('通知公告'),
    list: [{
      id: '1',
      title: '标题',
      titleDelete: false,
      datetime: '2022-20-02',
      read: 0,
      description: '这是一个通知'
    }],
    unreadNum: 0,
  }
];
